//
//  GDRequestManager.h
//  Classfiaction
//
//  Created by apple on 16/1/15.
//  Copyright (c) 2016年 HuaZhengInfo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface GDRequestManager : NSObject

// post 请求
+ (void)POST:(NSString *)URL params:(NSDictionary *)params success:(void(^) (id response))success failure:(void (^)(AFHTTPRequestOperation * operation,NSError * error))Error;

// get 请求
+ (void)GET:(NSString *)URL success:(void(^) (id response))success failure:(void (^)(AFHTTPRequestOperation * operation,NSError * error))Error;

// 上传图片
+ (void)UPLOADIMAGE:(NSString *)URL params:(NSDictionary *)params uploadImage:(UIImage *)image success:(void(^)(id response))success failure:(void (^)(AFHTTPRequestOperation * operation,NSError * error))Error;



@end
